package com.example.bikemanagerjava.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Date;

@Data
@TableName("bike")
public class Bike {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("BikeNumber")
    private String bikenumber;
    @TableField("CreatedAt")
    private String createat;
    @TableField("LastUsedAt")
    private String lastuseat;
    @TableField("Latitude")
    private String latitude;
    @TableField("Longitude")
    private String longitude;
    @TableField("BatteryLevel")
    private String batterylevel;
    @TableField("Status")
    private String status;
}